<template>
  <div class="table">
    <!-- <div class="table"> -->
    <el-footer class="foot">
      <el-row>
        <div class="footer">
          <div class="footbar">
            <div class="f_nav">
              <a
                href="/html/sgcc_main/col2017082082/2017-10/08/20171008122153607986360_1.shtml"
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >
              &nbsp;
              <a
                href="/html/sgcc_main/col2017082083/2017-10/08/20171008122234069193762_1.shtml"
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >
              &nbsp;  &nbsp;
              <a href="#here" target="_self"
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >
              &nbsp;
              <a href="#here" target="_self" class
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >
              &nbsp;
              <a href="#here" target="_self" class
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >

              &nbsp;
              <a href="#here" target="_self"
                ><font color="#B7CDCF">&nbsp &nbsp&nbsp</font></a
              >
            </div>
            <div class="linkbox">
              <!-- <a href="#here" target="_self">政府机构</a>
              <a href="#here" target="_self" class>国家电网有限公司网站群</a>
              <a href="#here" target="_self" class>国内能源企业</a>
              <a href="#here" target="_self">国际电力公司</a> -->
            </div>
            <el-divider></el-divider>
          </div>
          <!-- <div class="w"></div> -->

          <div class="copyright">
            <p style="TEXT-ALIGN: center">
              &nbsp &nbsp &nbsp
              <!-- 中国电力科学研究院有限公司 版权所有 @2003-2019
              <br />中共国家电网有限公司党组宣传部（
              <span style="text-align:center;">对外联络部</span>） 主办|
                            北京宇盛科技有限公司制作维护
              <br />地址：北京市海淀区清河小营东路15号 邮编：100192
                            京ICP备17072407
              <span style="text-align:center;">号</span>
              -1 -->
            </p>
          </div>
        </div>
        <!-- <p style="TEXT-ALIGN:center"></p> -->
      </el-row>
      <el-row> </el-row>
    </el-footer>
    <!-- </div> -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      // val_1:null,
    }
  },
  // props: ['val_1'],

  props: {
    props: {
      type: Object,
      require: true
    }
  },
  methods: {
    // 用$emit通知父组件属性改变事件。
    onChange(value) {
      this.$emit('change', this.props.node, this.props.a)
      // this.$emit('change', this.props.a)
      //
      console.log('数值改变时发生变化')
      console.log(this.props.a)
      this.$axios({
        method: 'get',
        params: {
          // tablename:node.data.text+new Date().getTime()
          tablename: this.props.node.text,
          speed: this.props.a
        },
        url: 'http://127.0.0.1:8082/add/updateTable'
      }).then(res => {
        // this.props.value.value_1=res.data[0].speed;
        // console.log( this.props.value.value_1);
        //当选中的时候赋予属性值node
      })
    }
  }
}
</script>

<style lang="scss">
.table {
  // background-color: rgb(0, 101, 105);
  // background-color: #005b5c;
  background-image: url(../assets/images/新UI22.png);
}

.el-header {
  // background-color: #373d41;
  // display: flex;
  align-items: center;
}
.foot {
  // background-color: #005a5b;
  padding-left: 0px;
  padding-right: 0px;
}
.footer {
  // background: #fff;
  // background:rgb(0, 101, 105);
  color: #ccc;
  line-height: 10px;
  font-size: 13px;
  // clear: both;
  text-align: center;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
  // height: 20%;
}
.footbar {
  // background:
  // #333;
  // background-color: rgb(0, 101, 105);
  // background-color: #005b5c;
  height: 50px;
  line-height: 20px;
  position: relative;
}
.f_nav {
  color: #b7cdcf;
}
.w {
  // margin: 0 auto;
  // padding: 40px 0;
  // position: relative;
  width: 70%;
  height: 0px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.copyright {
  clear: both;
  padding: 10px 0 0px;
  // width: 1920px;
  color: #769194;
  font-size: 12px;
  line-height: 1.5;
  // background-color: #005a5b;
  background-image: url(../assets/images/新UI22.png);
  margin-bottom: 20px;
}
.linkbox {
  margin-top: 20px;
}
.star {
  display: block;
  color: #f60 !important;
  text-decoration: underline;
  margin-bottom: 0.1rem;
}

.title {
  color: #0d1a26;
  font-weight: 600;
  padding: 0.05rem 0.15rem;
  border-bottom: 1px solid #ccc;
}

.group {
  margin: 0.1rem 0 0.2rem 0.3rem;
  padding: 0;

  a,
  li {
    line-height: 2;
  }

  li {
    list-style: initial;
  }
}

.bottom {
  position: absolute;
  bottom: 0.1rem;
}
.foot2 {
  // background-color: #005a5b;
}
.items {
  padding: 0.05rem 0.15rem;

  .el-input-number {
    width: initial;
    line-height: 0.32rem;

    .el-input__inner {
      padding-left: 0;
      height: 0.34rem;
      line-height: 0.34rem;
    }

    .el-input-number__increase {
      line-height: 0.16rem;
    }
  }
}

.formItem {
  margin-bottom: 0.1rem;
}
.el-divider {
  margin-left: 165px;
  width: 85%;
  background-color: #256768;
}
</style>
